<script type="text/javascript">
    	  $('input').focus(function() {
    		$(this).addClass("focus");
    	  });
    	  $('input').blur(function() {
    		$(this).removeClass("focus");
    	  });
    	  setFocus();
</script>
</html>